package com.itheima.d3_homework.timu5;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("小明",18,"男");
        Student s2 = new Student("小明",18,"男");
        System.out.println(s1);
        System.out.println(s2);

        System.out.println(s1 == s2);
        System.out.println(s1.equals(s2));

    }
}
